package com.bdqn.repository;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.management.relation.Role;

public interface RoleRepostitory extends JpaRepository<Role, Long> {
    public Page<Role> findRolesByRoleNameLike(String roleName, Pageable pageable);
}
